from django.conf.urls.defaults import *
from django.conf import settings

urlpatterns = patterns('mobile.views',
    url(r'^$', 'index', name='index'),

) + patterns('mobile.views.mylocation',
    url(r'^location/$', 'location', name='location'),
    url(r'^location/add/$', 'add', name='add_location'),
    url(r'^location/list/$', 'list', name='list_location'),

) + patterns('mobile.views.text',
    url(r'^textme/$', 'textme', name='textme'),

) + patterns('',
    url(r'^static/(.*)$', 'django.views.static.serve', {
        'document_root': settings.MOBILE_STATIC_ROOT,
        }, name='base_static'),

)


